<% if @user==-1 %>
	<p> <%= t :nosession%></p>
<% else%>
	<%if 	@user.typeUser!='0'%>
	<p><%= t :helloadmin%> <%= @user.studentId %>, <%= t :loginsuccess%></p>
	<%= link_to t(:homepage), root_path %>
	<%else%>
<p><%= t :hellouser%> <%= @user.studentId %>, <%= t :loginsuccess%></p>
<%= link_to t(:homepage), root_path %>
<% end%>
<%end%>
